package com.manage.mapper;

import com.manage.pojo.operation.CollectionsList;
import com.manage.pojo.operation.ShoesList;
import com.manage.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectionsListMapper extends MyMapper<CollectionsList> {

    /**
     * @Description: 根收藏id获取收藏详细信息
     */
    public CollectionsList queryCollectionsByCollectionsId(@Param("collectionsId") String collectionsId);

    /**
     * @Description: 获取所有收藏详细信息
     */
    public List<CollectionsList> queryAllCollections();

    /**
     * @Description: 根据用户id获取收藏详细信息
     */
    public List<CollectionsList> queryCollectionsByUserId(@Param("userId") String userId);

    /**
     * @Description: 根据鞋id获取收藏详细信息
     */
    public List<CollectionsList> queryCollectionsByShoesId(@Param("shoesId") String shoesId);
}